#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: relations_clone.py 
@version:
@time: 2022/05/31 
"""


class RelationsClone:

    def __init__(self, kwargs):
        self.syncObjects = kwargs.get('syncObjects')
        self.prefix = kwargs.get('table_prefix', '')
        self.suffix = kwargs.get('table_suffix', '')
        self.dropType = kwargs.get('dropType', 'no_drop')
        self.tableNameTransform = kwargs.get('tableNameTransform', '')
        self.fieldsNameTransform = kwargs.get('fieldsNameTransform', '')
        if not self.syncObjects or type(self.syncObjects) != dict:
            raise 'objectNames not Right'
